//
// Created by francklinson on 2022/1/1 AT 15:05.
//
#include <iostream>
#include <vector>
#include <unordered_map>
#include <queue>
#include <algorithm>
#include <functional>

using namespace std;

class Solution {
public:
    bool isSameAfterReversals(int num) {
        return num == 0 ? true : bool(num % 10);
    }
};

int main() {
    Solution solution;
    cout << solution.isSameAfterReversals(526) << endl;
    cout << solution.isSameAfterReversals(520) << endl;
    return 0;
}

